package com.ljh.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Song {

    private Integer songId;    //歌曲id
    private String songName;    //歌名
    private String singerName;  //歌手姓名
    private String songIntroduce;   //歌曲所属专辑
    private String songWord;    //歌词
    private String songPhoto;   //歌曲封面
    private String songUrl;     //歌曲地址

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;     //歌曲创作时间
    private String songStyle;   //歌曲风格
    private Integer songNum;    //歌曲听取数量
}
